package legumes.client.evt.manager;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.event.shared.SimpleEventBus;

public class EventBusManager {

	private static EventBusManager instance;
	private EventBus evtBus;
	
	public static EventBusManager getInstance(){
		if( instance == null){
			instance = new EventBusManager();
		}
		return instance;
	}
	
	private EventBusManager() {
		evtBus = new SimpleEventBus();
	}

	public EventBus getEventBus(){
		return evtBus;
	}
}
